/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.exception.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.exception.exception.Divide;
import za.ac.cput.exception.exception.Impl.DivideImpl;

/**
 *
 * @author bongiwe
 */
@Configurable
public class AppConfig {
    @Bean(name="divide")
    public Divide divide(){
        return new DivideImpl();
    }
    
}
